package com.starlink.model.request.mall;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Auther: zhouyuhang01
 * @Date: 2024/4/12 15:18
 * @Description: WechatPay
 * @Version 1.0.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("商城售后记录管理端请求模型")
public class AdminRefundRequest implements Serializable {
    @ApiModelProperty("微信用户ID")
    private Long userId;
    @ApiModelProperty("售后ID")
    private Long refundsId;
    @ApiModelProperty("订单ID")
    private Long orderId;
    @ApiModelProperty("订单号")
    private String orderNum;
    @ApiModelProperty("驳回原因")
    private String overruledReason;
    @ApiModelProperty("微信订单号")
    private String wxOrderNum;
    @ApiModelProperty("用户名称")
    private String userName;
    @ApiModelProperty("售后状态 0:待审批 1:待寄回 2:运输中 3:已完成 4:已驳回")
    private Integer status;
    @ApiModelProperty("售后类型 0退货 1换货")
    private Integer goodsServiceType;
    @ApiModelProperty("商品数量")
    private Long quantity;
    @ApiModelProperty("书籍RAS编码")
    private List<String> rasCode;

    @ApiModelProperty("交易金额 (含运费)")
    private BigDecimal payPrice;
    @ApiModelProperty("退款金额")
    private BigDecimal refundPrice;
    @ApiModelProperty("订单类型 1:书籍订单 2:周边订单 3:积分订单 4:购物车订单")
    private String orderType;

    @ApiModelProperty(value ="页码")
    private Integer pageNum;
    @ApiModelProperty(value ="分页大小")
    private Integer pageSize;


}
